package cc.yugu.yhdw.common.domain.basic;

import cc.yugu.yhdw.common.domain.AreaEntity;
import cc.yugu.yhdw.common.domain.IntIdEntity;

import java.util.Date;

/**
 * 客户地址薄实体类
 *
 * @Date:Created in 2018/6/26 17:18
 * @Author:
 * @Modified By: zxj 2018/6/26 17:18
 */
public class AddressBook extends IntIdEntity implements AreaEntity {
    Integer provinceId; //省ID
    Integer cityId; //市ID
    Integer districtId; //区ID
    String street; //街道
    String contact; //联系人
    String tel; //电话
    Integer passportId; //客户ID

    Integer defaultAddress;//1为默认地址0非默认地址
    String provinceName;  // 省份名称
    String cityName;      //城市名称
    String districtName;  // 区名称

    @Override
    public Integer getProvinceId() {
        return provinceId;
    }

    @Override
    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    @Override
    public Integer getCityId() {
        return cityId;
    }

    @Override
    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    @Override
    public Integer getDistrictId() {
        return districtId;
    }

    @Override
    public void setDistrictId(Integer districtId) {
        this.districtId = districtId;
    }

    @Override
    public String getStreet() {
        return street;
    }

    @Override
    public void setStreet(String street) {
        this.street = street;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getPassportId() {
        return passportId;
    }

    public void setPassportId(Integer passportId) {
        this.passportId = passportId;
    }

    @Override
    public String getProvinceName() {
        return provinceName;
    }

    @Override
    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    @Override
    public String getCityName() {
        return cityName;
    }

    @Override
    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    @Override
    public String getDistrictName() {
        return districtName;
    }

    @Override
    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public Integer getDefaultAddress() {
        return defaultAddress;
    }

    public void setDefaultAddress(Integer defaultAddress) {
        this.defaultAddress = defaultAddress;
    }
}

